package Test;

public class Review {
    public void func() {
        System.out.println("11111111");

    }

    public static void testFunc1() {
        Review review = new Review() {
        };
        review.func();
    }

    public static void testFunc2() {
        Review review = new Review() {
            @Override
            public void func() {
                System.out.println("2222222222222222");
            }
        };
        review.func();
    }

    public static void main(String[] args) {
        testFunc1();
        testFunc2();
    }


}
